﻿@using SmartCode
@using SmartCode.Db
@model BuildContext
@{
    var table = Model.GetCurrentTable();
}

<!--是否存在该记录-->
<Statement Id="IsExist">
    Select Count(1) From @table.Name T
    <Include RefId="QueryParams" />
</Statement>

